<html><body>
<style type="text/css">
#slidewrapper					{ poisition: relative; height: 225px; }
.anythingSlider                 { width: 950px; height: 225px; position:absolute; z-index:1;}
.anythingSlider .wrapper        { width: 950px; overflow:hidden; height: 225px; position: absolute;}                            
.anythingSlider .wrapper ul     { width: 32700px; list-style: none; position: absolute; top: 0; left: 0; margin: 0; padding:0px;}
.anythingSlider .wrapper ul li  { display: block; float: left; padding: 0; width: 950px; margin: 0; }
.anythingSlider .forward a      { width:50px; height:50px; background:url(<?php echo site() ?>/asset/images/arrow-right.png) no-repeat; float:right;}
.anythingSlider .back a         { width:50px; height:50px; background:url(<?php echo site() ?>/asset/images/arrow-left.png) no-repeat; float:left;}
.thumbNav                       {position: absolute; z-index:3; width:950px; list-style:none; margin: 175px 0 0 0;}
.thumbNav ul					{margin:0px; padding:0px; list-style:none;}
.thumbNav li                    {display: inline; }
.start-stop                     {display:none;}
.family-title					{font-size:14px; font-weight:bold;}
</style>
<a href="<?php echo site() ?>">HOME</a> -
<a href="<?php echo site() ?>/produk">PRODUK</a> -
<a href="<?php echo site() ?>/service">SERVICE</a> -
<a href="<?php echo site() ?>/materi-bisnis">MATERI BISNIS</a> -
<a href="<?php echo site() ?>/tanya-jawab">TANYA JAWAB</a> -
<a href="<?php echo site() ?>/tentang-kami">TENTANG KAMI</a> -
<a href="<?php echo site() ?>/hubungi-kami">HUBUNGI KAMI</a><br><br>
<link rel="stylesheet" type="text/css" href="<?php echo site() ?>/style/<?php echo random_string() ?>.css" />
<script type="text/javascript" src="<?php echo site()."/script/as.js" ?>"></script>
<div id="slidewrapper">
	<div class="anythingSlider">
		<div class="wrapper">
			<ul>
				<li><img src="<?php echo site()."/asset/images/slideshow/" ?>vlcsnap-2011-04-07-19h33m45s131.png" border="0" /></li>
				<li><img src="<?php echo site()."/asset/images/slideshow/" ?>vlcsnap-2011-04-07-19h35m18s46.png" border="0" /></li>
			</ul>        
		</div>
	</div>
</div>
<?php
$featureds = db_array("SELECT * FROM produk WHERE featured = 1 LIMIT 0,3");
$newests = db_array("SELECT * FROM produk ORDER BY tgl DESC LIMIT 0,3");
$mosts = db_array("SELECT * FROM produk ORDER BY dipesan ASC LIMIT 0,3");
?>
<br>FEATURED PRODUK<br>
<?php
foreach ($featureds as $featured) echo $featured['nama']."<br>";
?>
<br>PRODUK PALING BANYAK DIBELI<br>
<?php
foreach ($newests as $newest) echo $newest['nama']."<br>";
?>
<br>PRODUK TERBARU<br>
<?php
foreach ($mosts as $most) echo $most['nama']."<br>";
?>
</body></html>